package org.jeecg.modules.demo.member.mapper;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.member.entity.JkMemberInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.system.entity.SysUser;

/**
 * @Description: jk_member_info
 * @Author: jeecg-boot
 * @Date:   2025-05-18
 * @Version: V1.0
 */
public interface JkMemberInfoMapper extends BaseMapper<JkMemberInfo> {

    /**
     * 通过用户账号查询用户信息
     * @param username
     * @return
     */
    public JkMemberInfo getUserByName(@Param("username") String username);

    public JkMemberInfo getUserByPhone(@Param("phone") String phone);


    /**
     * 根据邮箱查询用户信息
     * @param email
     * @return
     */
    public JkMemberInfo getUserByEmail(@Param("email")String email);

}
